package com.liy.framework.common.entity;

import com.liy.framework.common.vo.BaseVO;
import java.io.Serializable;

public class SysOperationLog extends BaseVO<String> implements Serializable {
    private static final long serialVersionUID = 1L;
    private String operationName;
    private String operationCode;
    private String operationIp;
    private String operationUrl;
    private String requestParmas;
    private String responseData;
    private String exceptionInfo;
    private String isSuccess;
    private Long operationUser;
    private String operationUserAccount;
    private String operationTime;
    private String id;

    public SysOperationLog() {
    }

    public String getOperationName() {
        return this.operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getOperationCode() {
        return this.operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public String getOperationIp() {
        return this.operationIp;
    }

    public void setOperationIp(String operationIp) {
        this.operationIp = operationIp;
    }

    public String getOperationUrl() {
        return this.operationUrl;
    }

    public void setOperationUrl(String operationUrl) {
        this.operationUrl = operationUrl;
    }

    public String getRequestParmas() {
        return this.requestParmas;
    }

    public void setRequestParmas(String requestParmas) {
        this.requestParmas = requestParmas;
    }

    public String getResponseData() {
        return this.responseData;
    }

    public void setResponseData(String responseData) {
        this.responseData = responseData;
    }

    public String getExceptionInfo() {
        return this.exceptionInfo;
    }

    public void setExceptionInfo(String exceptionInfo) {
        this.exceptionInfo = exceptionInfo;
    }

    public String getIsSuccess() {
        return this.isSuccess;
    }

    public void setIsSuccess(String isSuccess) {
        this.isSuccess = isSuccess;
    }

    public Long getOperationUser() {
        return this.operationUser;
    }

    public void setOperationUser(Long operationUser) {
        this.operationUser = operationUser;
    }

    public String getOperationTime() {
        return this.operationTime;
    }

    public void setOperationTime(String operationTime) {
        this.operationTime = operationTime;
    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOperationUserAccount() {
        return this.operationUserAccount;
    }

    public void setOperationUserAccount(String operationUserAccount) {
        this.operationUserAccount = operationUserAccount;
    }

    public String toString() {
        return "SysOperationLog [operationName=" + this.operationName + ", operationCode=" + this.operationCode + ", operationIp=" + this.operationIp + ", operationUrl=" + this.operationUrl + ", requestParmas=" + this.requestParmas + ", responseData=" + this.responseData + ", exceptionInfo=" + this.exceptionInfo + ", isSuccess=" + this.isSuccess + ", operationUser=" + this.operationUser + ", operationUserAccount=" + this.operationUserAccount + ", operationTime=" + this.operationTime + ", id=" + this.id + "]";
    }

    public int hashCode() {
        int result = 1;

        result = 31 * result + (this.exceptionInfo == null ? 0 : this.exceptionInfo.hashCode());
        result = 31 * result + (this.id == null ? 0 : this.id.hashCode());
        result = 31 * result + (this.isSuccess == null ? 0 : this.isSuccess.hashCode());
        result = 31 * result + (this.operationCode == null ? 0 : this.operationCode.hashCode());
        result = 31 * result + (this.operationIp == null ? 0 : this.operationIp.hashCode());
        result = 31 * result + (this.operationName == null ? 0 : this.operationName.hashCode());
        result = 31 * result + (this.operationTime == null ? 0 : this.operationTime.hashCode());
        result = 31 * result + (this.operationUrl == null ? 0 : this.operationUrl.hashCode());
        result = 31 * result + (this.operationUser == null ? 0 : this.operationUser.hashCode());
        result = 31 * result + (this.operationUserAccount == null ? 0 : this.operationUserAccount.hashCode());
        result = 31 * result + (this.requestParmas == null ? 0 : this.requestParmas.hashCode());
        result = 31 * result + (this.responseData == null ? 0 : this.responseData.hashCode());

        return result;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        } else if (obj == null) {
            return false;
        } else if (this.getClass() != obj.getClass()) {
            return false;
        } else {
            SysOperationLog other = (SysOperationLog)obj;
            if (this.exceptionInfo == null) {
                if (other.exceptionInfo != null) {
                    return false;
                }
            } else if (!this.exceptionInfo.equals(other.exceptionInfo)) {
                return false;
            }

            if (this.id == null) {
                if (other.id != null) {
                    return false;
                }
            } else if (!this.id.equals(other.id)) {
                return false;
            }

            if (this.isSuccess == null) {
                if (other.isSuccess != null) {
                    return false;
                }
            } else if (!this.isSuccess.equals(other.isSuccess)) {
                return false;
            }

            if (this.operationCode == null) {
                if (other.operationCode != null) {
                    return false;
                }
            } else if (!this.operationCode.equals(other.operationCode)) {
                return false;
            }

            if (this.operationIp == null) {
                if (other.operationIp != null) {
                    return false;
                }
            } else if (!this.operationIp.equals(other.operationIp)) {
                return false;
            }

            if (this.operationName == null) {
                if (other.operationName != null) {
                    return false;
                }
            } else if (!this.operationName.equals(other.operationName)) {
                return false;
            }

            if (this.operationTime == null) {
                if (other.operationTime != null) {
                    return false;
                }
            } else if (!this.operationTime.equals(other.operationTime)) {
                return false;
            }

            if (this.operationUrl == null) {
                if (other.operationUrl != null) {
                    return false;
                }
            } else if (!this.operationUrl.equals(other.operationUrl)) {
                return false;
            }

            if (this.operationUser == null) {
                if (other.operationUser != null) {
                    return false;
                }
            } else if (!this.operationUser.equals(other.operationUser)) {
                return false;
            }

            if (this.operationUserAccount == null) {
                if (other.operationUserAccount != null) {
                    return false;
                }
            } else if (!this.operationUserAccount.equals(other.operationUserAccount)) {
                return false;
            }

            if (this.requestParmas == null) {
                if (other.requestParmas != null) {
                    return false;
                }
            } else if (!this.requestParmas.equals(other.requestParmas)) {
                return false;
            }

            if (this.responseData == null) {
                if (other.responseData != null) {
                    return false;
                }
            } else if (!this.responseData.equals(other.responseData)) {
                return false;
            }

            return true;
        }
    }
}
